import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入百分制成绩：");
        int soccer = sc.nextInt();
        int res=-1;
        switch (soccer/10) {
            case 10: case 9:
                res=5;
                break;
            case 8:
                res=4;
                break;
            case 7:
                res=3;
                break;
            case 6:
                res=2;
                break;
            case 5:
                res=1;
                break;
            default:
                res=0;
        }
        System.out.println("五分制成绩是："+res);
    }
}